import Vue from 'vue'
import vuex from 'vuex'
import user from './modules/user'
import search from './modules/search'

Vue.use(vuex)

// 服务员
const actions = {}

// 厨师
const mutations = {}

// 原材料
const state = {
  // 测试
}

const getters = {}

const store = new vuex.Store({
  actions,
  mutations,
  state,
  getters,
  modules:{
    user,
    search
  }
})



// 暴露
export default store 
